refactor out pager, now in gem