I think random is called twice here
It’s better to choose one, put it in a variable, and then work with it.