please add name to this function and any other anonymous function that is a return value from a different function