changing to bson loads