refactoring monitoring