added support for sequence number based api access