work on saving tuples in mongo