Adding a custom events widget