Transistor question

The arduino needs to share "Ground" with your transistor/supply, like in the following picture: