new way of doing harmonic extraction