channel as argument