interactions in a magnetic field