Added names to previously anonymous functions to make debugging easier