adding thrift files: to be tested