added base case at end of validation for caomparison