got inheritance graph working