multiple queries and formatting will run