created queryProcessor