rewrite sensors