working get price method