almost refactoring info saving