typos in sample program