DOC add method for creating random classes