add ability to turn output on or off