add viewer for simulation