add main layout