rand string[] does  not work for some reason