new paging code
Merge pull request #303 from rwhaling/master

new paging code