added magnetic field src