Refactoring my DocGraph code
cleaned up this code before pushing to the server
cleaned up this code before pushing to the server
cleaned up this code before pushing to the server