Validating prompts