changed func->sym to f->sym to match source