creating a table of values