Added goroutines and channels