main layout design