restructure pages