Edited AList to pass unit test