adding query collection
working query converter