Added names to anonymous functions