add SNAKE with thrift