Automated the event system