finish the pages framework