Creating the event and syncing should go in a setup function