added channel threshold and isub feature