update code so `eventName` comments match variable name used in methods