No need to change dude , actually they asked us to pass callback function as parameter to execute the display function , but when i referred most of the google pages and tutorials it mentioned as in the name of callback so that i used the same name but thrown me error but u used the same displayResult name as parameter it got worked simple :)