add all page and character function