added new output format to both files