Added work with queries:preset queries, custom queries