added view loading