pulled logic from dependencyFraph.js and added new logic