array->list was defined twice