added gc() to YX.part1