shitty linkedlist thingy