adding thrift changes