Turning the sun from foe to friend