further work on the tachan code