fixed typoes and added view code