change function name to indicate it runs inside multiple goroutines