worked out LaTeX issues