map to table is done