removed event C from while