prepare for thrift go