added pages and thumbnails