add some pages and  functions