updated commenting in ch4 prog challenge 21