simplifying mongo stuff