Changed random to random32