adaptation and inheritance