added code for MSA Spectrum class