implement MagneticField and Orientation