unfinished version of AList - iterator not complete