with contact error handling