removed dict from spectra