Refactor monitor