I'll post this again because it's useful to have the safe version at hand