Expanded e to event; removed unnecessary var creation