added new spectral fit