refactoring opportunities