i left a 1/16 gap from one end of the rod,and taped it with electrical tape before i started to roll the wire, i left a 3 inch over hang on the wire so i could hook up the battery. the tighter the wire was rolled the better the magnet would be. when i was about to finish i left another 3 inches of free wire for the battery to be connected.