Write up most of section 1 in latex