added call graph functionality (simple)