added checking that people don't input decimals