add thrift examples