refactored something