spectral parsing working