adds linked lists, removed comments