added random number for class to fix question appending bug for similar max numbers