add exception else degree = 0;