working with select, goroutines, and channels