corrected the wrong function name