highlight in dicttop and optimization