pager and index first version