updated read me for inheritance