loop each page