adding a value based on a variable to the table
adding more vars