a demo for thrift