def __eq__(self, other):
        return (self.name == other.name) and (type(self) == type(other))