Turned funtion into an anonymous function.