minor work, add latex