cleaning up the Viz api