save the changes before I start to rewrite the code