Managing variability: floods and droughts