Validating prompts

the right way