support for new protocol with sequence numbers