working in dependency tree