validation comparison