Help!

I have a mosfet powering an LED...
Led is connected to 5V and Mosfet Source
Pin 2 out is connected to Mosfet Gate
Ground to Mosfet Drain

My code is the default "Blink" example with the pin changed to 2. If I just do it normally (Led wired from pin 2 to gnd), it works fine. But with the mosfet, the Led turns on and only changes its brightness:
When pin 2 is high, led is at full power.
When pin 2 is low, led is at almost full power, prob. about an analogWrite of 220. Am I wiring the mosfet wrong?

Help!

Nevermind. I had the FET plugged in backwards.... the datasheet didn't indicate what the front was.