configured main layout