4. LOGICAL SENSORS