Loop for validation.

showing exactly where the prompt validation is