added possibility to choose table row according to column index and name