move modtable to external file