thrift verify pass
start code function