add an example for leveldb