adding foreach controlss structures II