finish database usage for simple spectra