monitoring functions.