added the logic for the visual design prompts.