Change end
Contributed by : Jérôme Jesse