Added base wavelength variable