adding events to datatable