using integrated version of bson module