changed to buffered channels to help improve parallelism.