add name/mode table.