refinements to lesson 1