add validation to prompts