good point! The output should be connected to the gate of a N MOSFET. LED is between Vin and Source. Thanks!