Time for action – writing a function for red eye reduction