Experiment algorithm