adding leveldb persistence :)