changed some randomness