further work on nhqm_alt