create RandomSeq class