First draft of price calculation