Updated experiment2.js