twi02 example updated