changed event listeners to bubble up to table