added some code in SynonymWords class...