use a union type for garbageList