added topTerms.m