added linkedlist and other stuff