Replace system array with linked list