added correct functionality for monitoring algorithms