Changed the random intiatilizing