refactoring performed