adaptation for inheritance