Modified main layout