add support for dependency tree