Added new pager function