Added experiments code, minor changes