modified files for main layout