base main view working