main layout established