modified to exercise.txt