fixing wrong function name