NEW - add the foreach macro