adapted the connector to the changes in the domain