added ability to combine queries and organized queries on page