pager function finished