complex query combiner added