New modification to monitor algorithm