Made a variable for previous node.