first view working properly