refactoring pager to support bank statement