instruction_generator with big bug