Corrected Sample Progrm