Mostly, except you have the MOSFET source and drain reversed, and the resistor needs to be between the source and gate, as I stated.