final changes ch04-03 code