adding thrift example