sensors rewrite to control