I modified isNumber functions and tested them so they work. Changed them to non member