adding add event functionality
adding add event functionality