idiomatic rust
implemented correct callgraph update and interactive prompt for inquiring about the callgraph