established a row event listener