added query view