Working on list of queries