Finished implementation for validation checks.
Changed param variable
Works as expected. Time to dry/modify