-- implemented Garbage & fixed bugs