added synonym functionality