Lego: doCorrectiveTrials added