getting price from db