modify symbol table to use name as index