using two or more input wavelengths