Added code to show view.