added the ability to select a list and table row with id