Added a return to the anonymous function