modified view to display multiple queries