add main layout;