adding add event functionality