update for raincdf 4