Added tracing statements for events