The map syntax for calling a method was being used in a wrong way