Implemented paging function in stuffs.