add latex write up