add if instruction to recorder