change the type of the arguments of the function step() to the float