Solving silences and code refactoring