added: refcounted guard