Refactoring opening