added addPageByItem method