Added code for header view.