basic pageframe works