added ability to input floats