rename pointer to next