script for validation comparison