Chenged main layout