further work on debugging new chargen.