add iterate for pages