add comment for monitor.py