bar_monitor.c Updated