Added monitor functionality