interface to LevelDB