goroutine on input layer