tables sums and numeric (incomplete)
total implemented. numeric input implemented (not all the variables)