MongoDB data storage - native driver - edited a bit