separate register and pagination.