added the view part