Program whileProgram = new Program();
i9.setBlockProgram(whileProgram);
whileProgram.addInstruction(i10);
Program thenProgram = new Program();
Condition cond = new CriteriaCondition(crit, thenProgram);
i10.addCondition(cond);
thenProgram.addInstruction(i11);
thenProgram.addInstruction(i12);
thenProgram.addInstruction(i13);