add support for LMDB