Declared channels in functions as write only