pageCreator functioning