Corrected bad programming