Added magnetic sensor