most of rest of MonadLevelDB