adds inheritence vs composition rule