added query visualizatipn