optimization of queries 8 pages 4602421