changed magnetometer use