reordered notes so that the  lesson precedes the exercise