more work on g2html