Changed double price to float cost.