made an automatic calculator (not correct)
fixed the price calculator