add event mapping