Added scratch node and linked list