a simple monitor framework