random the sequence