pager refactoring