adding viewer