getting mongo to save values