no more linked list, now complete array