inherit from unit