added a simple monitor to monitor certain internal states