Lecture21_discrete_finished