changed the unit from text box to a dropdown