refactors pager to be unique class