adding page method