Examples about refactoring