creating formatted_price method