add weakref example