main view redone