Switch With Led

Hey @TomGeorge

I'm using Uno
for switch, pins are: 5v arduino and pin8 digital
for led, one pin is connected to resistor with 13 and cathode to gnd!
i have attached picture of switch im using