Corrected code for corrupting alpha/beta vals