updated output.txt