Lesson 3. complete application