added view setter.