in the process of moving individual validations to their own functions