A now takes a wavelength in the constructor