reuse main layout