refactored a thing