added latex table production function