converting apply1/apply2 to symtable format