updated: TrialDivision.R