added the get_price method