Could you name this function rather than using an anonymous function?