changed range of valid values and

 typecast to float