updated for eventlog