we can now write to the mongodb