Internally modified method next and its documentation