* add createPageView function.