Removed drawgraph and unnecessary functions