Updated <-chan for the function func_d