refactored for updated audit_log_2