Use the generic channel class
Added debug channel