rest contact handling