add event sample