Moving eventname to constants