Utilize a couple of wire to evacuate a couple of centimeters of protection from each end of the wire. Flawlessly wrap the wire around the nail. The more wire you wrap around the nail, the more grounded your electromagnet will be. Verify that you leave enough of the wire loosened up so you can connect the battery.