Better MongoDB usage