refactoring monitor