adds pages and content