initialize view data