modified view to display multiple queries (will need to construct custom table for each distinct query)