adding cnmonitor, fixing monitoring