added more traces to problem 5-3 (a)