add simple adapter for pager