better dependency tracking