add a function for #page.