some progress on synonym portion of api