Change attributelist to linked list of attributes