modify the return value of monitorlist func