linklist and array