add write_output() to DinnerParty