linked list integration + working