turned ints into floats as the exercise requested