calling wrong function