added pages and more stuff to pages