Magnetic effects of electric current