regenerate thrift