minor: some method helpers
API for calling the visualizer