let's just use the factories from pagetree instead of copying them in