more work on harmonic localizer code