Add some code. Need to use linkedlist in the new data structures