Added parts to Magnetic Sensor