with thrift