select attributes by name instead of column index