added the ability to select a row in a table