added stuck sensor