changes back from anonymous function to  "normal" function