refactoring cast to int. Now numeric answers cast to int if int