added KeyGarbage collector