added Query to the checkers for match