Added some functions at monitor.