removed duplicate event def