Amendment for Algorithm Logic