If you don't use the iterator it's better to use the classic for(a:list) form