added view fxn