Trying to create well class dependency tree