price computation