add pre,next event.