Explanation of declaration of variables as prompts