added gc() to stratify