from Refactoring to Patterns