rename generalized validation method for clarity