added utility to build call trace - first pass, more to follow