Experiment5 main functions