for each is deprecated