adding the thrift service