There are a few things that are incorrect on there, including the `onEvent` config appearing to not pass any parameters.