adding page generator