save the code