make it so saving sequence number can occur incrementally