Title: Magnetism and deviation of the compass