handle sensors