added spectra to models and fixed views to incorporate for it