Add thrift sample