connect sensor - actuator method