prev = nxt. u did it backwards