if(user.hasinterest("salt")) { var experiment = new experiment("pre-initiation"); experiment.addparameter("salt", valuetype.unknown); experiment.beginafresh(); foreach(var result in experiment.results) { if(result.ispositive()) { user.accept(result); } else { user.reject(result); } } }