I don't get this edit. There is no `event` var defined.