the first working version of garbadge collector