updated version of the interaction sensor