added the viewer