There's essentially two ways to create a magnet. One is so-called permanent magnets and the other is electromagnets. The key there is that it's not limited by the magnetic property of the material. And the more electric current that you put through, the more magnetic field that you get.