multi functional inheritance library