added pager& changed api