added synonym flag to output