Preparing and sending the event