adding panel for displaying queries