changed sensor parameter to true