added pages, fixed center