added condition for no prices.