save end
Contributed by : Jérôme Jesse