generate Sequence