relationship validation