completed all queries