made price in the example into a float