db.init() can be run multiple times now