Added the view part.