use eat in for_each