refactor preparing for call stack viz