Thanks, the reason it wasn't working was because pin 3 was not going to positive so for some reason the led kept being on but once I supplied the 5 volts + to pin 3
it worked.