inheritance

getting an error?????