add the control statements for collecting targetResults