Work on main layout.