work for mongoc
beginning of mongocpp