small cleanup, add latex work