Rewrote sensors and regulators