there could be multiple instances of viewers, so I think we should move this object into the viewer object.