added todo item as code comment. removed duplicate event creation.