change the method getting price