modified notification to handle encResponse object