adds pages and tagging/untagging