added init for mapdb