adding queries & filters