Converted the function name into a var and alerted the user of the info