extern discriminate function.