Using tuples for validations