price calculation is redone