ligth refactoring and creation of dump and use methods