added randomized docno class