create class pager