added new page functionality