implemented pages... sort of.