use thrift