updated experiments code