new thrift class