Made some changes to view.