Transfer over code from old experiments file.