debugged harmonic validation