syntax for thrift