added write up latex stuff