Tryin to implement GC