Fill out the system event handler