Preliminary work on table_new()