add table output
add reading of number for table output