write the gandi example