removed many unused pages and prepared the rest