modular inheritance system