more leveldb stuff