added pager support