Prepare experiment.