revised lesson 1 (flying code moved to lesson 2)