pager class added
pager function added