added condition to display the price