something for table
add row number and direction for tabe chart