time for queries