Add EventLog; Debug for ANS-END function