Completing a table of values