minor typo would had read freq nistead of nodeidw