Updated twstat sample.