add thrift idl example