saving to sequence