second development based on leveldb