working out the validation issue.