basic support for inheritance