added flame to for each goroutine