Added better validation - range of numbers