No reason to do a extra loop when invoking the events
Remove unused random