lesson 3(b) - motion and loops continued