Corrected Sample Programs