working on main viz and debugging why it occasionally breaks