Preparing view.