how to fill in a table of values