add helper to garbage collector