completed constructors and destructors in lesson 1