added support for multiple query operators