Can we split this out into a separate `setUpValidation` function?