Finishing Main layout