added methods for retrieving sequence number