duplex inheritance

duplex inheritance