added client portion of lesson 006