refactoring problemi