Anonymous Function

Added an Anonymous Function instead