casual refactoring