implementing paging in example project.