add version to inherit