restored prompts for user inputs