initlal view working