* added consistent-spectra function