Anonymous Function Correction

Corrected my anonymous function