wiring a voltage regulator

well i don't know what i done but it's working. i hooked the vr straight to + side of battery instead of the coil and i also ran a ground from battery to vr. it worked like a charm so i removed the extra ground from battery, still worked, so i unhooked it from the battery and back to the coil and it's working. don't know but i'm not gonna argue. thanks for the help.