design the calculate the price ing