refactored forEach