added types
looked at class inheritance and constructors