initial modifications for cs spectrometer