upgraded to proper input elements for the ranges and numeric values