add one_page_function