Added the new_page function