first setup of view