[ADDED] Function to the needed data to send a new event