private function getNextRandomRegistration()
{
if (count($this->registrations) === 1) {
//just return this so that we don't have to run mt_rand
return $this->registrations[0];
}
//mt_rand is apparently faster than array_rand(which uses the libc generator)
return $this->registrations[mt_rand(0, count($this->registrations) - 1)];
}