to AMD and on-style events