remodeled main layout