RandNum class added