add event insertion feature