proper channel passed to goroutine in the example program (thanks to Skip Tavakkolian)