by sensor