Added names to some annonymous functions