refactored some text and some .tex