loading temp queries