working on mongo stuff