work on query and query manager. can select next query now.