refactoring nigga