generated simple for with warning