Refactored each/foreach comments