added sensor checker