adjusted input types to number with ranges