added view stuff