Refactoring usando sherlock