fixed order of queries