add event for stop