added an easy way to change the number of outputs.
Oops.