setup corresponding inheritence