add sequence number handling to the data-server