wavelengths have to be in nm