changes to number validation