added bandpasses to check_spectra, significnaly beautified code