Explicitly Declare Event Type in Main