added basic page name functionality