grabbing each page one at a time