magnetic effects on moving electrons