Moving your setup comment to resetEvent()