Helps to save before committing