First check if prices exist