Forgot to set setNextElement