restructuring main.tex