Mike beat me to it, and with better. Resistor first, then wire to diode/s (raw voltage to flying leads not the best idea! :)