Removed audit trail function