first view init.