- Made getRandom asynchronous