Refactored and refined foreach