simple call graph construction