Both nitrate reductases and hemoglobins control the nitrogen-fixing symbiosis via the regulation of nitric oxide level.