removed and added an event