working on mongo stuff (wip)