Inserting instructions in program