added thrift interface