forked from: Garbage Collection Hack

