fix bug and add random experiments