He didn't go with the random thingy, nor does evolution.
Then your understanding of evolution is lacking. Evolution involves random mutations, minute changes over time to the benefit of some organism, which is dubious at best because an organism would have to experiment with change in order to find which is best and then adopt only that specific mutation, this implies intelligence and the ability to develop mutations spontaneously. Mutations themselves are probematic as they tend to be detrimental to the life of the organism (>70%).