add latex for 1st routine