changed criteria for outputting coda output