added channel mask facility