adding query overlays