Work on main layout