Updated _random to _isRandom