added channel code