added conversion to float
added conversion to float