added pageType