add logging to monitor step