hook into mongo